<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<title>今日待发</title>
		<link rel="stylesheet" href="../asset/css/conmom.css" />
		<link rel="stylesheet" href="../asset/css/base.css" />
		<link rel="stylesheet" href="../asset/css/personCenter.css" />
	</head>
	<body>
		<div class="readyList">
			<div class="J_tit">
				<div class="J_tit_div" >
					<div class="title"><i class="iconfont back icon-xiangzuo2" onclick="window.history.go(-1)"></i>物流列表</div>
					<div class="search-div clearfix">
						<input id="search-form-input" class="search" type="text"  placeholder="输入物流名字">
						<button class="cube-acm-node">搜索</button>
					</div>
				</div>
			</div>
			<div class="factoryList">
				<ul>
					<li>中荣物流</li>
					<li>中荣物流</li>
					<li>飞翔货运</li>
					<li>中荣物流</li>
					<li>飞翔货运</li>
					<li>中荣物流</li>
					<li>飞翔货运</li>
					<li>飞翔货运</li>
					<li>中荣物流</li>
					<li>飞翔货运</li>
				</ul>
			</div>
		</div>
		<!--待发物流的客户-->
		<div class="readCustomer" style="display: none;">
			<div class="J_tit">
				<div class="J_tit_div" >
					<div class="title"><i class="iconfont back icon-xiangzuo2 cusBtn"></i><span>中荣物流</span></div>
				</div>
			</div>
			<div>
				<div class="factoryList">
					<ul>
						<li data-id="1">宏光照明(T456)</li>
						<li data-id="2">宏光照明(T456)</li>
						<li data-id="3">宏光照明(T456)</li>
					</ul>
				</div>
			</div>
		</div>
	</body>
	<script type="text/javascript" src="../public/jquery.min.js" ></script>
	<script>
		$(".readyList>.factoryList>ul>li").click(function(){
			$(".readyList").hide();
			$(".readCustomer").show();
			$(".readCustomer .title>span").text($(this).text());
		})
		$(".readCustomer .factoryList>ul>li").click(function(){
			var dataID=$(this).attr("data-id");//取得当前点击的data-id
 			location.href = "../Companymanage/readyCustomer.html?id="+dataID;//location.href实现客户端页面的跳转  
		})
		$(".cusBtn").click(function(){
			$(".readCustomer").hide();
			$(".readyList").show();
		})
	</script>
</html>
